.class public Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;
.super Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
.source "MediaViewHolder.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field protected a:I

.field protected b:Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;

.field protected c:Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter;

.field protected d:Z

.field protected e:Z

.field protected f:I

.field protected g:Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter$d;

.field protected h:Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter$c;

.field protected i:Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter$b;

.field protected j:Lcom/bumptech/glide/h;


# direct methods
.method public constructor <init>(Landroid/view/View;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;-><init>(Landroid/view/View;)V

    .line 2
    invoke-virtual {p1, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method


# virtual methods
.method public a(I)Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;
    .locals 0

    .line 3
    iput p1, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->f:I

    return-object p0
.end method

.method public a(Lcom/bumptech/glide/h;)Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;
    .locals 0

    .line 7
    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->j:Lcom/bumptech/glide/h;

    return-object p0
.end method

.method public a(Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter$b;)Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;
    .locals 0

    .line 6
    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->i:Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter$b;

    return-object p0
.end method

.method public a(Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter$c;)Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;
    .locals 0

    .line 5
    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->h:Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter$c;

    return-object p0
.end method

.method public a(Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter$d;)Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;
    .locals 0

    .line 4
    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->g:Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter$d;

    return-object p0
.end method

.method public a(Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter;)Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->c:Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter;

    return-object p0
.end method

.method public a(Z)Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;
    .locals 0

    .line 2
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->e:Z

    return-object p0
.end method

.method public a(Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;I)V
    .locals 0

    .line 8
    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->b:Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;

    .line 9
    iput p2, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->a:I

    return-void
.end method

.method public b(Z)Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;
    .locals 0

    .line 1
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->d:Z

    return-object p0
.end method

.method public d()V
    .locals 0

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 3

    .line 1
    iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    if-ne p1, v0, :cond_2

    .line 2
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->e:Z

    if-eqz v0, :cond_0

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->g:Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter$d;

    if-eqz v0, :cond_2

    .line 4
    iget v1, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->a:I

    invoke-interface {v0, p1, v1}, Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter$d;->a(Landroid/view/View;I)V

    goto :goto_0

    .line 5
    :cond_0
    iget-boolean p1, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->d:Z

    if-eqz p1, :cond_1

    .line 6
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->h:Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter$c;

    if-eqz p1, :cond_2

    .line 7
    iget v0, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->a:I

    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->b:Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;

    invoke-interface {p1, v0, v1}, Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter$c;->a(ILcom/esfile/screen/recorder/picture/picker/entity/MediaItem;)Z

    goto :goto_0

    .line 8
    :cond_1
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->i:Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter$b;

    if-eqz p1, :cond_2

    .line 9
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->b:Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;->c()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->c:Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter;

    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->b:Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;

    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/picture/picker/adapter/SelectableAdapter;->b(Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;)Z

    move-result v1

    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->c:Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter;

    .line 10
    invoke-virtual {v2}, Lcom/esfile/screen/recorder/picture/picker/adapter/SelectableAdapter;->e()Ljava/util/List;

    move-result-object v2

    .line 11
    invoke-interface {p1, v0, v1, v2}, Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter$b;->a(Ljava/lang/String;ZLjava/util/List;)Z

    move-result p1

    if-eqz p1, :cond_2

    .line 12
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->c:Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter;

    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->b:Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;

    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/picture/picker/adapter/SelectableAdapter;->c(Lcom/esfile/screen/recorder/picture/picker/entity/MediaItem;)V

    .line 13
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/holder/MediaViewHolder;->c:Lcom/esfile/screen/recorder/picture/picker/adapter/MediaPickerAdapter;

    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V

    :cond_2
    :goto_0
    return-void
.end method
